//@author A0101119Y
#include "Status.h"

using namespace Twentyfifth;
using namespace std;

Status::Status() {
	code = ERR_VOID;
}

Status::Status(StatusCode c) {
	code = c;
}

Status::Status(StatusCode c, string s) {
	code = c;
	desc = s;
}

Status::Status(StatusCode c, string s, vector<Task> t) {
	code = c;
	desc = s;
	tasks = t;
}

Status::Status(StatusCode c, vector<Task> t) {
	code = c;
	tasks = t;
}

Status::Status(StatusCode c, Task t) {
	code = c;
	tasks.push_back(t);
}